<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
#box {
  position: relative;
  margin: auto;
  margin-top: 80px;
  width: 300px;
  height: 450px;
}
 
#box .box-container {
  position: absolute;
  display: flex;
  flex-flow: column wrap;
  width: 300px;
  height: 300px;
  overflow: hidden;
  z-index: 20;
  animation: wind 10s linear 3s infinite;
  -webkit-animation: wind 10s linear 3s infinite;
}
 
#box .box-container .box1 {
  width: 0;
  height: 0;
}
 
#box .box-container .box1:nth-child(1) {
  border-right: 150px solid transparent;
  border-bottom: 150px solid #ed2009;
}
 
#box .box-container .box1:nth-child(2) {
  border-left: 150px solid transparent;
  border-bottom: 150px solid #10f341;
}
 
#box .box-container .box1:nth-child(3) {
  border-right: 150px solid transparent;
  border-top: 150px solid #f1c40f;
}
 
#box .box-container .box1:nth-child(4) {
  border-left: 150px solid transparent;
  border-top: 150px solid #3814ed;
}
 
#box .pole {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  height: 300px;
  background-color: #ed18d4;
  z-index: 10;
}
 
@keyframes wind {
  from {
    transform: rotate(0deg);
    transform: rotate(0deg);
    transform: rotate(0deg);
    transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-3600deg);
    transform: rotate(-3600deg);
    transform: rotate(-3600deg);
    transform: rotate(-3600deg);
    transform: rotate(-3600deg);
  }
}
</style>
</head>

<body>
    <div id="box">
        <div class="box-container">
            <div class="box1"></div>
            <div class="box1"></div>
            <div class="box1"></div>
            <div class="box1"></div>
        </div>
        <div class="pole"></div>
    </div>
</body>
</html>